package com.ykht.proj.coupon.vo;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class CouponUseResp {

	private List<UseResp> list = new ArrayList<>();
	@ApiModelProperty("总次数")
	private Integer allSize = 0;
	@ApiModelProperty("总金额")
	private String allMoney="0";

	@Data
	@ToString
	public static class UseResp{
		@ApiModelProperty("次数")
		private Integer size = 0;
		@ApiModelProperty("金额")
		private String money = "0";
		@ApiModelProperty("时间")
		private LocalDate date;
	}
}
